﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Rendering.BlendMode
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using UnityEngine.Bindings;

#nullable disable
namespace UnityEngine.Rendering
{
  /// <summary>
  ///   <para>Blend mode for controlling the blending.</para>
  /// </summary>
  [NativeHeader("Runtime/GfxDevice/GfxDeviceTypes.h")]
  public enum BlendMode
  {
    /// <summary>
    ///   <para>Blend factor is  (0, 0, 0, 0).</para>
    /// </summary>
    Zero,
    /// <summary>
    ///   <para>Blend factor is (1, 1, 1, 1).</para>
    /// </summary>
    One,
    /// <summary>
    ///   <para>Blend factor is (Rd, Gd, Bd, Ad).</para>
    /// </summary>
    DstColor,
    /// <summary>
    ///   <para>Blend factor is (Rs, Gs, Bs, As).</para>
    /// </summary>
    SrcColor,
    /// <summary>
    ///   <para>Blend factor is (1 - Rd, 1 - Gd, 1 - Bd, 1 - Ad).</para>
    /// </summary>
    OneMinusDstColor,
    /// <summary>
    ///   <para>Blend factor is (As, As, As, As).</para>
    /// </summary>
    SrcAlpha,
    /// <summary>
    ///   <para>Blend factor is (1 - Rs, 1 - Gs, 1 - Bs, 1 - As).</para>
    /// </summary>
    OneMinusSrcColor,
    /// <summary>
    ///   <para>Blend factor is (Ad, Ad, Ad, Ad).</para>
    /// </summary>
    DstAlpha,
    /// <summary>
    ///   <para>Blend factor is (1 - Ad, 1 - Ad, 1 - Ad, 1 - Ad).</para>
    /// </summary>
    OneMinusDstAlpha,
    /// <summary>
    ///   <para>Blend factor is (f, f, f, 1); where f = min(As, 1 - Ad).</para>
    /// </summary>
    SrcAlphaSaturate,
    /// <summary>
    ///   <para>Blend factor is (1 - As, 1 - As, 1 - As, 1 - As).</para>
    /// </summary>
    OneMinusSrcAlpha,
  }
}
